package com.smartfactory.sail.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smartfactory.sail.entity.StorageRecord;
import com.smartfactory.sail.entity.enums.StorageStatusEnum;
import com.smartfactory.sail.vo.PageParam;
import com.smartfactory.sail.vo.item.ListMaterialStorageResp;
import com.smartfactory.sail.vo.item.ListProductsStorageResp;

/**
 * <p>
 * 仓库流水 服务类
 * </p>
 *
 * @author 王巨壁
 * @since 2019-08-07
 */
public interface IStorageRecordService extends IService<StorageRecord> {

    //待入库
    Long waitIn(StorageRecord storageRecord);

    IPage<ListMaterialStorageResp> listMateriaStorage(PageParam pageParam);

    IPage<ListProductsStorageResp> listProductStorage(PageParam pageParam);

    Boolean updateStatus(StorageStatusEnum status,Long recordId);

}
